import express from 'express';
const router = express.Router();
import userRoutes from './user/index.js'
import emailRoutes from './email/index.js'
//////////////////这里添加所有 路由

router.use('/openid', userRoutes);
router.use('/email', emailRoutes);






router.get('/health-check', (req, res) =>
    res.send('OK')
);
router.get("/", (req, res) => {
    res.json({ message: "欢迎访问后端服务器 ok!" });
});
export default router
